package searcher;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HUAWEI
 * Date: 2023-08-27
 * Time: 21:40
 */
//这个类就是把文档ID和文档与词的相关性 权重 进行一个包裹
public class Weight {
    private int docId;
    //这个weight 就表示 文档 和 词 之间的相关性
    //这个值越大就表示 文档 和 词 的相关性越大 weight怎么计算
    private int weight;

    public int getDocId() {
        return docId;
    }

    public void setDocId(int docId) {
        this.docId = docId;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
